package com.code.day15DuoXianC.Runnable;

public class MyRunnable implements Runnable {
    @Override
    public void run() {
        for (int i = 0; i <10 ; i++) {
//            获取线程名字
           System.out.println(Thread.currentThread().getName()+"...."+ i);
        }
    }
}



